{% extends "base.html" %} {% block title %} {{entry.title}} - {{blog.title}} {% endblock %} {% block content%}
<div class="ctop"></div>
<div class="box">
  <div id="addForm">
    <form action="/post/new" method="post">
      <div>
        <h3>分类目录</h3>
        <p>
          <select name="cats">
            <option>请选择文章的分类目录</option>
            
            
               {%for cat in cats%}
            
            
            <option  value="{{cat.slug}}">{{cat.name}}</option>
            
            
                    {%endfor%}
          
          
          </select>
        </p>
      </div>
      <div id="titlediv">
        <h3>标题</h3>
        <div id="titlewrap">
          <input type="text" autocomplete="off" id="title" value="" tabindex="1" size="60" name="post_title"/>
        </div>
        <div class="inside">
          <div id="edit-slug-box"> </div>
        </div>
      </div>
      <div id="editorcontainer">
        <h3>正文</h3>
        <textarea style="width: 600px;" cols="40" rows="15" id="content" name="content">请在这里写下您要发表的话</textarea>
      </div>
      <p class="submit">
        <input type="submit" tabindex="4" value="好了，就这样发布" name="save" class="button button-highlighted"/>
      </p>
    </form>
  </div>
</div>
<div class="cbottom"></div>
<div class="space"></div>
</div>
{% include "sidebar.html" %}
{% endblock %} 